package org.fly.service;

import org.fly.bean.SupplierProduct;
import org.fly.bean.query.SupplierProductQuery;
import org.fly.bean.common.BusinessException;
import java.util.List;

/**
* Created by autoCode on 2018-02-07 16:53:26.
*/
public interface SupplierProductService {

    List<SupplierProduct> list(SupplierProductQuery query);

    long count(SupplierProductQuery query);

    SupplierProduct findById(String id);

    void save(SupplierProduct bean)  throws BusinessException;

    SupplierProduct find(String supplierId,String productId);


    void delete(String id);

}
